package com.ls.lserp.modules.setting.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ls.lserp.common.persistence.Page;
import com.ls.lserp.common.service.CrudService;
import com.ls.lserp.common.utils.CacheUtils;
import com.ls.lserp.common.utils.CollectionsUtils;
import com.ls.lserp.modules.setting.dao.BarcodeListDao;
import com.ls.lserp.modules.setting.entity.BarcodeList;
import com.ls.lserp.modules.sys.utils.DictUtils;



/**
  * @ClassName: CategoryService
  * @Description: 分类保存 修改 删除
  * 
  * @author 
  * @date 
  *
  */

@Service
@Transactional(readOnly = true)
public class BarcodeListService extends CrudService<BarcodeListDao, BarcodeList> {
	@Autowired
	private BarcodeListDao barcodeDao;

	public Page<BarcodeList> findList(Page<BarcodeList> page, BarcodeList barcodeList) {
		 // 设置分页参数
		barcodeList.setPage(page);
	       // 执行分页查询
	       page.setList(barcodeDao.findList(barcodeList));
	       
	       return page;
		
	}
	
    
}
